<ion-view title="商品展售">
    <ion-content class="has-header" has-bouncing="true" overflow-scroll="false">
            <div class="item item-divider" > 展售情况 </div>
             <div style="padding:10px">
                 <div ng-if="data.doorDatas.empty">
                     <span style="font-size: 16px">没有展售商品,<a href="#/app/sellStore" style="color: #000000">点击马上展售</a></span>
                 </div>
                 <div ng-if="!data.doorDatas.empty">
                     <span style="font-size: 16px">正在展售中...</span>
                 </div>
             </div>
            <div class="item item-divider" > 展售商品详情 </div>
            <div style="padding: 10px;font-size: 16px" ng-if="data.doorDatas.empty">
                没有相关信息
            </div>
            <div style="padding: 10px;font-size: 16px" ng-if="!data.doorDatas.empty">
                <img ng-src="data:image/jpeg;base64,{{data.doorDatas.gid.imgData}}" style="width: 100%;height: 300px">
                <div style="padding: 10px">
                    <div style="color: #808080">{{data.doorDatas.gid.name}}({{data.doorDatas.gid.sort}})</div>
                    <div style="font-size: 18px;margin-top: 10px;color: #ffb108">
                        ￥{{data.doorDatas.gid.price}}
                    </div>
                    <div style="margin-top: 10px">
                        已上架数目：{{data.doorDatas.gid.sellNum}}

                    </div>
                    <div style="margin-top: 10px">
                        属性描述：{{data.doorDatas.gid.attr}}
                    </div>
                </div>
            </div>
    </ion-content>
    <ion-footer-bar>
        <div class="button-bar" ng-if="!data.doorDatas.empty">
            <a class="button button-positive" style="font-size:16px;" href="#/app/sellStore"><b>选择其他商品</b></a>
            <a class="button button-assertive" style="font-size:16px;" ng-click="showConfirm()"><b>取消展售</b></a>
        </div>
    </ion-footer-bar>
</ion-view>
